-
Notifications
You must be signed in to change notification settings - Fork 349
Audio: SRC: Add conversions to 11.025 and 22.05 kHz #9945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio: SRC: Add conversions to 11.025 and 22.05 kHz #9945
Conversation
|
Still draft, I'll test locally that new conversions plus existing ones work. |
The added check loads for Octave the signal package. In Matlab it is available if licensed without need for explicitly loading it. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
With these additions the new generated and exported SRC coefficients sets match the existing hand-edited header files for coefficients. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This change adds conversions from 48 and 96 kHz to rates 11.025 and 22.05 kHz. A column for 64 kHz output rate is added for completeness, since it is the only missing standard rate (e.g. for MPEG), but no conversions are activated for it while there is no requirement yet. Some comments are added to script and some formatting is done for readability for supported conversions. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch adds coefficients modifications to support conversion from 48 and 96 kHz to 11.025 and 22.05 kHz. All files were generated with Matlab with run of script sof_src_ipc4_int32.m. The previous set was generated with Matlab, so these were too to minimize the patch since there are differences in the FIR calculation functions in signal processing package. The files with only copyright year changed to this year 2025 but no other changes were left out from patch to keep this small. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
0901cab to
76b3bee
Compare
abonislawski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wszypelt can we add new conversion rates to full scope or any other test plan which fully stresses SRC?
| pkg load signal | ||
| end | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary second blank line
|
@singalsu @abonislawski Is the scope we see in the code already final? Mariusz will create new tests, but it will take a while |
No description provided.